<div class="ibox">
	<div class="row searchLineWrap">
		<form class="form-horizontal" method="post" action="${cxt!}/admin/category/list" id="searchForm">
	  		<div class="col-md-12"> 
	  			<div class="row">
	    			<div class="col-md-4">
	      				<div class="form-group">
	         				<label  class="col-md-3 control-label">${_res["customer.userid"]}</label>
	         				<div class="col-md-9">
	            					<input type="text" class="form-control" name="customerRoleCategory.l_id" placeholder="${_res['customer.userid']}" value="${paramMap['customerRoleCategory.l_id']}"/>
	         				</div>
	       				</div>
	    			</div>
	    			<div class="col-md-4">
	      				<div class="form-group">
	         				<label  class="col-md-3 control-label">${_res["category.createDate"]}</label>
	         				<div class="col-md-9">
	            					<input type="text" class="laydate-icon form-control layer-date" onclick="laydate()" name="customerRoleCategory.gt_createtime"  placeholder="${_res['category.createDate']}" value="${paramMap['customerRoleCategory.gt_createtime']}"/>
	         				</div>
	       				</div>
	    			</div>
	    			<div class="col-md-4">
	      				<div class="form-group">
	         				<label  class="col-md-3 control-label">${_res["category.nameen"]}</label>
	         				<div class="col-md-9">
	          						<input type="text" class="form-control"  name="customerRoleCategory.l_nameen" placeholder="${_res['category.nameen']}" value="${customerRoleCategory.l_nameen!}"/>
	         				</div>
	       				</div>
	    			</div>
	  			</div>
	  			<div class="row">
	   				<div class="col-md-4">
	         			<div class="form-group">
	           				<label class="col-md-3 control-label">${_res["category.name"]}</label>
	           				<div class="col-md-9">
	               					<input type="text" class="form-control" name="customerRoleCategory.l_name" placeholder="${_res['category.name']}" value="${customerRoleCategory.l_name!}"  />
	           				</div>
	       				</div>
	     			</div>
	    			<div class="col-md-4">
	      				<div class="form-group">
	         				<label class="col-md-3 control-label">${_res["category.updateDate"]}</label>
	         				<div class="col-md-9">
	             					<input type="text" class="laydate-icon form-control layer-date" onclick="laydate()" name="customerRoleCategory.le_updatetime"   placeholder="${_res['category.updateDate']}" value="${paramMap['customerRoleCategory.le_updatetime']}"/>
	         				</div>
	       				</div>
	     			</div>
	    			<div class="col-md-4">
	        			<div class="form-group">
	          				<label class="col-md-3 control-label"></label>
	         				<div class="col-md-9">
	             					<button type="button" class="btn btn-primary pull-right" onclick="ajaxForm('content','searchForm')">
	          							<i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}
	          						</button>
	        	 			</div>
	          
	        			</div>
	    			</div>
	  			</div>
	  		</div>
	 	</form>
	</div>
</div>
<div id="dataTable" class="ibox row searchLineWrap">
	<div class="float-e-margins">
		<button type="button" class="btn btn-primary pull-left" onclick="ajaxContent('/admin/toUrl?toUrl=/realty/customer/roleCategory/add.html');">
			${_res["category.add"]}
		</button> 
	</div>
	<table class="table table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>${_res["customer.userid"]}</th>
	            <th>${_res["category.name"]}</th>
	            <th>${_res["category.nameen"]}</th>
	            <th>${_res["category.createDate"]}</th>
	            <th>${_res["category.updateDate"]}</th>
	            <th>${_res["system.operator"]}</th>
	          </tr>
	    </thead>
	    <tbody>
	        <%for (category in customerRoleCategoryList!){%> 
	         <tr class="gradeC">
	            <td>${category.id!}</td> 
	            <td>${category.name!}</td>
	            <td>${category.nameen!}</td>
	            <td>${category.createtime!,dateFormat="yyyy-MM-dd HH:mm"}</td>
	            <td>${category.updatetime!,dateFormat="yyyy-MM-dd HH:mm"}</td>
	            <td>
	            	<% if(hasPrivilegeUrl("/admin/category/input")){ %>
	               <button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/admin/category/input/${category.id!}')">${_res["system.edit"]}</button>
	               <%} if(hasPrivilegeUrl("/admin/category/delete")){ %>
	               <button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/admin/category/delete/${category.id!}')">${_res["system.delete"]}</button>
	            	<%}%>
	            </td>
	       </tr>
	       <%}%>
	    </tbody>
	</table>
	<div id="splitPageDiv">
		<#page formId="searchForm"/>
	</div>
	<#nav />
</div>